projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2c5409
)
Fix a thinko in adjustment animation
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 8 Sep 2014 02:45:08 +0000
(22:45 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 8 Sep 2014 02:45:08 +0000
(22:45 -0400)
The target value is only relevant if we're actually animating.
Don't look at it otherwise.
https://bugzilla.gnome.org/show_bug.cgi?id=736178
gtk/gtkadjustment.c
patch
|
blob
|
history
diff --git
a/gtk/gtkadjustment.c
b/gtk/gtkadjustment.c
index 2a2f60d163f887d1102337a4ac963688d82e3091..10f43c1b0d612f3e8a97e2b7e520ef3b4839fce0 100644
(file)
--- a/
gtk/gtkadjustment.c
+++ b/
gtk/gtkadjustment.c
@@
-530,7
+530,7
@@
gtk_adjustment_set_value_internal (GtkAdjustment *adjustment,
if (animate && priv->duration != 0 && priv->clock != NULL)
{
- if (priv->target == value)
+ if (priv->t
ick_id && priv->t
arget == value)
return;
priv->source = priv->value;